/ Developer CD Series 2000 November: Tool Chest
/ Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Java / SlideShow / Source Clippings / SlideShow / SlideShow toggleFullScreen ![]() | < prev | next > |
MacBinary | 2000-09-28 | 1.3 KB | [clpt/drag] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
100% | file | MacBinary II, inited, Wed Jul 28 14:43:41 1999, modified Thu Sep 28 11:56:43 2000, creator 'drag', type 'clpt' "SlideShow toggleFullScreen", at 0x80 1086 bytes resource Apple HFS/HFS+ resource fork, map offset 0x3f8, map length 0x46, data length 0x2f8, at 16 0x3d234646, nextResourceMap 0x5949130, fileRef 0x50ca, list offset 0x1c, name offset 0x46, 2 types, 0x54455854 'TEXT' * 1 resource offset 0x12 | default (weak) | |
99% | file | data | default | |
74% | TrID | Mac Text clippings (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [clpt] |
macFileCreator | [drag] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1a 53 6c 69 64 65 53 | 68 6f 77 20 74 6f 67 67 |..SlideS|how togg|
|00000010| 6c 65 46 75 6c 6c 53 63 | 72 65 65 6e 00 00 00 00 |leFullSc|reen....|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 04 3e b3 c4 ff dd b5 |........|..>.....|
|00000060| f9 1a bb 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 38 a8 00 00 |........|....8...|
|00000080| 00 00 01 00 00 00 03 f8 | 00 00 02 f8 00 00 00 46 |........|.......F|
|00000090| 3d 23 46 46 46 46 46 46 | 0d 63 6f 6c 6f 72 30 33 |=#FFFFFF|.color03|
|000000a0| 3d 23 46 46 46 46 46 46 | 0d 63 6f 6c 6f 72 30 34 |=#FFFFFF|.color04|
|000000b0| 1a 53 6c 69 64 65 53 68 | 6f 77 20 74 6f 67 67 6c |.SlideSh|ow toggl|
|000000c0| 65 46 75 6c 6c 53 63 72 | 65 65 6e 65 72 73 73 64 |eFullScr|eenerssd|
|000000d0| 02 23 63 6c 70 74 64 72 | 61 67 00 00 ff ff ff ff |.#clptdr|ag......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 b3 c4 f8 d5 00 00 | 00 00 00 00 04 3e 30 39 |........|.....>09|
|00000100| 3d 23 46 46 46 46 46 46 | 0d 63 6f 6c 6f 72 30 61 |=#FFFFFF|.color0a|
|00000110| 3d 23 46 46 46 46 46 46 | 0d 0d 5b 53 49 54 45 53 |=#FFFFFF|..[SITES|
|00000120| 5c 2d 53 55 4d 4d 41 52 | 59 5d 0d 73 69 74 65 20 |\-SUMMAR|Y].site |
|00000130| 62 61 72 20 6d 6f 64 65 | 3d 31 0d 70 75 74 20 64 |bar mode|=1.put d|
|00000140| 65 70 65 6e 64 65 6e 74 | 73 3d 30 0d 63 75 72 72 |ependent|s=0.curr|
|00000150| 65 6e 74 20 73 69 74 65 | 3d 2d 31 0d 67 65 74 20 |ent site|=-1.get |
|00000160| 64 65 70 65 6e 64 65 6e | 74 73 3d 30 0d 6e 75 6d |dependen|ts=0.num|
|00000170| 62 65 72 20 6f 66 20 73 | 69 74 65 73 3d 30 0d 0d |ber of s|ites=0..|
|00000180| 00 00 02 d0 09 09 44 69 | 6d 65 6e 73 69 6f 6e 20 |......Di|mension |
|00000190| 73 63 72 65 65 6e 53 69 | 7a 65 20 3d 20 54 6f 6f |screenSi|ze = Too|
|000001a0| 6c 6b 69 74 2e 67 65 74 | 44 65 66 61 75 6c 74 54 |lkit.get|DefaultT|
|000001b0| 6f 6f 6c 6b 69 74 28 29 | 2e 67 65 74 53 63 72 65 |oolkit()|.getScre|
|000001c0| 65 6e 53 69 7a 65 28 29 | 3b 0d 09 09 0d 09 09 69 |enSize()|;......i|
|000001d0| 66 20 28 69 73 46 75 6c | 6c 53 63 72 65 65 6e 29 |f (isFul|lScreen)|
|000001e0| 0d 09 09 7b 0d 09 09 09 | 69 6e 74 20 77 69 64 74 |...{....|int widt|
|000001f0| 68 20 3d 20 57 49 44 54 | 48 3b 0d 09 09 09 69 6e |h = WIDT|H;....in|
|00000200| 74 20 68 65 69 67 68 74 | 20 3d 20 48 45 49 47 48 |t height| = HEIGH|
|00000210| 54 3b 0d 0d 09 09 09 69 | 66 20 28 63 75 72 72 65 |T;.....i|f (curre|
|00000220| 6e 74 49 6d 61 67 65 20 | 21 3d 20 6e 75 6c 6c 29 |ntImage |!= null)|
|00000230| 0d 09 09 09 7b 0d 09 09 | 09 09 77 69 64 74 68 20 |....{...|..width |
|00000240| 3d 20 63 75 72 72 65 6e | 74 49 6d 61 67 65 2e 67 |= curren|tImage.g|
|00000250| 65 74 57 69 64 74 68 28 | 74 68 69 73 29 3b 0d 09 |etWidth(|this);..|
|00000260| 09 09 09 68 65 69 67 68 | 74 20 3d 20 63 75 72 72 |...heigh|t = curr|
|00000270| 65 6e 74 49 6d 61 67 65 | 2e 67 65 74 48 65 69 67 |entImage|.getHeig|
|00000280| 68 74 28 74 68 69 73 29 | 3b 0d 09 09 09 09 0d 09 |ht(this)|;.......|
|00000290| 09 09 09 2f 2f 4d 61 6b | 65 20 73 75 72 65 20 74 |...//Mak|e sure t|
|000002a0| 68 65 20 77 69 6e 64 6f | 77 20 66 69 74 73 20 6f |he windo|w fits o|
|000002b0| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 0d 09 09 09 |n the sc|reen....|
|000002c0| 09 77 69 64 74 68 20 3d | 20 4d 61 74 68 2e 6d 69 |.width =| Math.mi|
|000002d0| 6e 28 77 69 64 74 68 2c | 20 73 63 72 65 65 6e 53 |n(width,| screenS|
|000002e0| 69 7a 65 2e 77 69 64 74 | 68 29 3b 0d 09 09 09 09 |ize.widt|h);.....|
|000002f0| 68 65 69 67 68 74 20 3d | 20 4d 61 74 68 2e 6d 69 |height =| Math.mi|
|00000300| 6e 28 68 65 69 67 68 74 | 2c 20 73 63 72 65 65 6e |n(height|, screen|
|00000310| 53 69 7a 65 2e 68 65 69 | 67 68 74 29 3b 0d 09 09 |Size.hei|ght);...|
|00000320| 09 7d 0d 0d 09 09 09 73 | 65 74 4c 6f 63 61 74 69 |.}.....s|etLocati|
|00000330| 6f 6e 28 28 73 63 72 65 | 65 6e 53 69 7a 65 2e 77 |on((scre|enSize.w|
|00000340| 69 64 74 68 20 2d 20 77 | 69 64 74 68 29 20 2f 20 |idth - w|idth) / |
|00000350| 32 2c 20 28 73 63 72 65 | 65 6e 53 69 7a 65 2e 68 |2, (scre|enSize.h|
|00000360| 65 69 67 68 74 20 2d 20 | 68 65 69 67 68 74 29 20 |eight - |height) |
|00000370| 2f 20 32 29 3b 0d 09 09 | 09 73 65 74 53 69 7a 65 |/ 2);...|.setSize|
|00000380| 28 77 69 64 74 68 2c 20 | 68 65 69 67 68 74 29 3b |(width, |height);|
|00000390| 0d 0d 09 09 09 69 73 46 | 75 6c 6c 53 63 72 65 65 |.....isF|ullScree|
|000003a0| 6e 20 3d 20 66 61 6c 73 | 65 3b 0d 09 09 7d 0d 09 |n = fals|e;...}..|
|000003b0| 09 65 6c 73 65 0d 09 09 | 7b 0d 09 09 09 69 6e 74 |.else...|{....int|
|000003c0| 20 74 6f 70 20 3d 20 32 | 31 3b 0d 09 09 09 69 6e | top = 2|1;....in|
|000003d0| 74 20 73 69 64 65 73 20 | 3d 20 35 3b 0d 09 09 09 |t sides |= 5;....|
|000003e0| 73 65 74 42 6f 75 6e 64 | 73 28 2d 73 69 64 65 73 |setBound|s(-sides|
|000003f0| 2c 20 2d 74 6f 70 2c 20 | 73 63 72 65 65 6e 53 69 |, -top, |screenSi|
|00000400| 7a 65 2e 77 69 64 74 68 | 20 2b 20 32 20 2a 20 73 |ze.width| + 2 * s|
|00000410| 69 64 65 73 2c 20 73 63 | 72 65 65 6e 53 69 7a 65 |ides, sc|reenSize|
|00000420| 2e 68 65 69 67 68 74 20 | 2b 20 74 6f 70 20 2b 20 |.height |+ top + |
|00000430| 73 69 64 65 73 29 3b 0d | 09 09 09 69 73 46 75 6c |sides);.|...isFul|
|00000440| 6c 53 63 72 65 65 6e 20 | 3d 20 74 72 75 65 3b 0d |lScreen |= true;.|
|00000450| 09 09 7d 0d 00 00 00 20 | 00 00 00 01 00 00 00 04 |..}.... |........|
|00000460| 00 00 00 00 00 00 00 01 | 54 45 58 54 00 00 01 00 |........|TEXT....|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 03 f8 |........|........|
|00000480| 00 00 02 f8 00 00 00 46 | 05 94 91 30 50 ca 00 00 |.......F|...0P...|
|00000490| 00 1c 00 46 00 01 54 45 | 58 54 00 00 00 12 64 72 |...F..TE|XT....dr|
|000004a0| 61 67 00 00 00 1e 01 00 | ff ff 00 00 00 00 00 8b |ag......|........|
|000004b0| de bc 00 80 ff ff 00 00 | 02 d4 00 8b dd f4 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+